/**
 * Notes: 项目管理模块 后台管理控制器
 * Date: 2023-07-01 10:20:00 
 */

const BaseProjectAdminController = require('./base_project_admin_controller.js');
const AdminProjectService = require('../../service/admin/admin_project_service.js');

class AdminProjectController extends BaseProjectAdminController {

	/** 
	 * 清理所有项目数据
	 */
	async clearProjects() {
		// 业务处理
		const service = new AdminProjectService();
		const result = await service.clearProjects();

		// 返回结果
		return result;
	}
}

module.exports = AdminProjectController; 